package com.cloudeasy.security.server;

import org.springframework.http.ResponseEntity;
import org.springframework.security.oauth2.common.exceptions.OAuth2Exception;
import org.springframework.security.oauth2.provider.error.WebResponseExceptionTranslator;

/**
 * Create By 郭金宝 on 2019/1/10.<br>
 */
public class PcWebResponseExceptionTranslator implements WebResponseExceptionTranslator {
    /**
     * Translate response entity.
     *
     * @param e the e
     *
     * @return the response entity
     *
     * @throws Exception the exception
     */
    @Override
    public ResponseEntity<OAuth2Exception> translate(Exception e) throws Exception {
        return null;
    }
}
